import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
let state = {
    count:34
}

const mutations = {
    anc(state){
        state.count++
    }
}

const actions = {
    jia({commit}){
        commit('anc')
    }
}
const getters = {}
let moduleA = {
    namespaced: true,
    actions,
    getters,
    state,
    mutations,
}


export default moduleA